﻿using System;
using System.Collections.Generic;
using System.Text;
using Cemit.PolyProto;
using Google.Protobuf;
using Google.Protobuf.WellKnownTypes;

namespace Cemit.PolyServer
{
    class NullHandle : IMessageHandle, IAsyncGetHandle
    {
        public void Execute(ClientState clientState, IMessage message)
        {
            Debug.LogWarning("找不到对应的消息处理类：" + message.GetType().Name);
        }

        public IMessage Execute(G message)
        {
            Debug.LogWarning("找不到对应的消息处理类：" + message.Type);
            return null;
        }
    }
}
